package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.NewsComment;
import cn.wolfcode.trip.base.query.NewsCommentQueryObject;
import cn.wolfcode.trip.base.query.QueryObject;

import java.util.List;

public interface NewsCommentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(NewsComment record);

    NewsComment selectByPrimaryKey(Long id);

    List<NewsComment> selectAll();

    int updateByPrimaryKey(NewsComment record);

    List<NewsComment> selectForList(NewsCommentQueryObject qo);

    List<NewsComment> selectByUserId(NewsCommentQueryObject qo);
}